package com.ruibang.glass.material.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.material.domain.req.MaterialManagementReq;
import com.ruibang.glass.material.entity.MaterialManagement;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 物料管理表 服务类
 * </p>
 *
 * @author mameng
 * @since 2024-03-30
 */
public interface GMaterialManagementService extends IService<MaterialManagement> {
    /***
     * 列表
     */
    IPage<MaterialManagement> getPage(MaterialManagementReq materialManagementReq);

    /***
     * 新增
     */
    void add(MaterialManagement materialManagement);

    List<MaterialManagement> getWarehouseByIds(List<String> itemIds);

    List<MaterialManagement> getMaterialInfo();

    IPage<MaterialManagement> queryMaterialChoose(MaterialManagementReq materialManagementReq);

    List<MaterialManagement> selectMaterialCPORBCPChoose(String wareHouseCode);

    Map<String, String> getDictMap();

}
